<?php
namespace Rbac\Model;
/**
  +----------------------------------------------------------
 * 课程模型类
  +----------------------------------------------------------
 * Description of InfoCurriculumModel
  +----------------------------------------------------------
 * @author Jonas_yang 2016-1-8
  +----------------------------------------------------------
 */
class InfoCurriculumModel extends ExtendModel{
    /**
     * 获取课程列表
     */
    public function getCurriculumList(){
        $list = $this->field("cu_id,cu_name,ico_id")->order("cu_id")->select();
        if(empty($list)){
            return null;
        }
        return $list;
    }
}
